package gui;

import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author HoaDinhGiang
 */
public class Main {
    private final static String log4jPropertieFile = "./SystemConfigure/log4j.properties";

    static {
        try {
            PropertyConfigurator.configure(log4jPropertieFile);
        } catch (Exception ex) {
            System.err.println("Loi xay ra khi configure log4j.");
            ex.printStackTrace();
            System.exit(-1);
        }
    }
    
    static Logger log = Logger.getLogger(Main.class);
		

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        MainFrame frm = new MainFrame();
        //frm.setExtendedState(JFrame.MAXIMIZED_BOTH);
        frm.setVisible(true);
        JDesktopPane desktop = new JDesktopPane();
    }
}